public class Example6_3 {
   public static void main(String srgs[]) {
     Bus bus101 = new Bus();
     Taxi buleTaxi=new Taxi();
     Cinema redStarCinema=new Cinema();
     MoneyFare fare;
     ControlTemperature temperature;
     fare=bus101;
     bus101.brake();
     fare.charge();
     fare=buleTaxi;
     temperature=buleTaxi;
     buleTaxi.brake();
     fare.charge();
     temperature.controlAirTemperature();
   }
}
